[INFO] cloning repository https://github.com/tomc1998/rust-guitk
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tomc1998/rust-guitk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomc1998%2Frust-guitk", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomc1998%2Frust-guitk'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9fdc0b4951c749aa9f7255a32383b3d9ba3bfed1
[INFO] testing tomc1998/rust-guitk against master#d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d for pr-83796
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomc1998%2Frust-guitk" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/tomc1998/rust-guitk on toolchain d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/tomc1998/rust-guitk
[INFO] finished tweaking git repo https://github.com/tomc1998/rust-guitk
[INFO] tweaked toml for git repo https://github.com/tomc1998/rust-guitk written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/tomc1998/rust-guitk already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 6abf37c414923ba0495870ca9ee09366669b673bba429368b3506b7ad067b779
[INFO] running `Command { std: "docker" "start" "-a" "6abf37c414923ba0495870ca9ee09366669b673bba429368b3506b7ad067b779", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6abf37c414923ba0495870ca9ee09366669b673bba429368b3506b7ad067b779", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6abf37c414923ba0495870ca9ee09366669b673bba429368b3506b7ad067b779", kill_on_drop: false }`
[INFO] [stdout] 6abf37c414923ba0495870ca9ee09366669b673bba429368b3506b7ad067b779
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a46a6fadf64dbaa1423e26b31ee2683c9ad1c9999e2d85d0aeb0964b27aaa515
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "a46a6fadf64dbaa1423e26b31ee2683c9ad1c9999e2d85d0aeb0964b27aaa515", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.19
[INFO] [stderr]    Compiling phf_shared v0.7.20
[INFO] [stderr]    Compiling serde v0.8.21
[INFO] [stderr]    Compiling itoa v0.1.1
[INFO] [stderr]    Compiling num-traits v0.1.36
[INFO] [stderr]    Compiling dtoa v0.2.2
[INFO] [stderr]    Compiling lazy_static v0.2.2
[INFO] [stderr]    Compiling log v0.3.6
[INFO] [stderr]    Compiling pkg-config v0.3.8
[INFO] [stderr]    Compiling gcc v0.3.41
[INFO] [stderr]    Compiling byteorder v0.5.3
[INFO] [stderr]    Compiling rustc-demangle v0.1.3
[INFO] [stderr]    Compiling android_glue v0.2.1
[INFO] [stderr]    Compiling ffi_glue v0.1.0 (/opt/rustwide/workdir/ffi_glue)
[INFO] [stdout] error[E0432]: unresolved import `this_platform_is_not_supported`
[INFO] [stdout]    --> ffi_glue/src/lib.rs:132:5
[INFO] [stdout]     |
[INFO] [stdout] 132 | use this_platform_is_not_supported;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `this_platform_is_not_supported` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling xml-rs v0.3.5
[INFO] [stderr]    Compiling phf v0.7.20
[INFO] [stderr]    Compiling tempfile v2.1.4
[INFO] [stdout] warning: unused import: `channel`
[INFO] [stdout]  --> ffi_glue/src/lib.rs:9:55
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::sync::mpsc::{Sender, Receiver, TryRecvError, channel};
[INFO] [stdout]   |                                                       ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]   --> ffi_glue/src/lib.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::io::Write;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `pthread_t` should have an upper camel case name
[INFO] [stdout]   --> ffi_glue/src/lib.rs:16:10
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub type pthread_t = c_long;
[INFO] [stdout]    |          ^^^^^^^^^ help: convert the identifier to upper camel case: `PthreadT`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `pthread_mutexattr_t` should have an upper camel case name
[INFO] [stdout]   --> ffi_glue/src/lib.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub type pthread_mutexattr_t = c_long;
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PthreadMutexattrT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `pthread_attr_t` should have an upper camel case name
[INFO] [stdout]   --> ffi_glue/src/lib.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub type pthread_attr_t = c_void;       // FIXME: wrong
[INFO] [stdout]    |          ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PthreadAttrT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]    --> ffi_glue/src/lib.rs:266:30
[INFO] [stdout]     |
[INFO] [stdout] 266 |             let mut thread = mem::uninitialized();
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]    --> ffi_glue/src/lib.rs:316:30
[INFO] [stdout]     |
[INFO] [stdout] 316 |             let mut events = mem::uninitialized();
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]    --> ffi_glue/src/lib.rs:317:61
[INFO] [stdout]     |
[INFO] [stdout] 317 |             let mut source: *mut ffi::android_poll_source = mem::uninitialized();
[INFO] [stdout]     |                                                             ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep`
[INFO] [stdout]    --> ffi_glue/src/lib.rs:527:9
[INFO] [stdout]     |
[INFO] [stdout] 527 |         thread::sleep_ms(10);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling rand v0.3.15
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> ffi_glue/src/lib.rs:239:88
[INFO] [stdout]     |
[INFO] [stdout] 239 |                         if let Some(last_newline_pos) = buf.iter().rposition(|&c| c == b'\n') {
[INFO] [stdout]     |                                                                                        ^^^^^ expected `i8`, found `u8`
[INFO] [stdout]     |
[INFO] [stdout] help: you can convert a `u8` to an `i8` and panic if the converted value doesn't fit
[INFO] [stdout]     |
[INFO] [stdout] 239 |                         if let Some(last_newline_pos) = buf.iter().rposition(|&c| c == b'\n'.try_into().unwrap()) {
[INFO] [stdout]     |                                                                                        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> ffi_glue/src/lib.rs:240:53
[INFO] [stdout]     |
[INFO] [stdout] 240 | ...                   buf[last_newline_pos] = b'\0';
[INFO] [stdout]     |                                               ^^^^^ expected `i8`, found `u8`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> ffi_glue/src/lib.rs:249:47
[INFO] [stdout]     |
[INFO] [stdout] 249 | ...                   buf[cursor] = b'\0';
[INFO] [stdout]     |                                     ^^^^^ expected `i8`, found `u8`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr]    Compiling fs2 v0.2.5
[INFO] [stderr] error: could not compile `ffi_glue`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "a46a6fadf64dbaa1423e26b31ee2683c9ad1c9999e2d85d0aeb0964b27aaa515", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a46a6fadf64dbaa1423e26b31ee2683c9ad1c9999e2d85d0aeb0964b27aaa515", kill_on_drop: false }`
[INFO] [stdout] a46a6fadf64dbaa1423e26b31ee2683c9ad1c9999e2d85d0aeb0964b27aaa515
